package com.easyse.model.DO;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 角色和菜单关联表(SystemRoleMenu)实体类
 *
 * @author makejava
 * @since 2022-10-29 14:23:59
 */
@TableName(value ="system_role_menu")
@Data
@Builder
@Accessors
@AllArgsConstructor
@NoArgsConstructor
public class SystemRoleMenu implements Serializable {
    private static final long serialVersionUID = 420620525066601964L;
    /**
     * 角色ID
     */
    private Long roleId;
    /**
     * 菜单ID
     */
    private Long menuId;


    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

}

